#pragma once

#include <ClanLib/core.h>
#include <ClanLib/network.h>

namespace Network { class Client; }

namespace Game
{
	class GameManager
	{
	public:
		GameManager(Network::Client &client);
		~GameManager();

		void update(const unsigned int &pulse_ms);

		CL_NetGameEventDispatcher_v0 &getGameEvents() { return game_events; }

	private:
		void onEventGameStart(const CL_NetGameEvent &e);

		Network::Client &client;
		CL_NetGameEventDispatcher_v0 game_events;
	};
}
